﻿using Shop.Model.DB;
using Shop.RemoteModel.PageTemplate.Model;
using WeDonekRpc.Model;

namespace Shop.Repository
{
    public interface IPageTemplateRepository : IShopBaseRepository<DBPageTemplate, long>
    {
        long Add ( PageTemplateAdd add );
        bool Enable ( DBPageTemplate source, long stopId );
        Result[] Query<Result> ( PageTemplateQuery query, IBasicPage paging, out int count ) where Result : class, new();
    }
}